<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>restclient-cpp: include/restclient-cpp/restclient.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">restclient-cpp
   </div>
   <div id="projectbrief">C++ client for making HTTP/REST requests</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_d7863d21b35bfd92001c24d3be435c80.html">restclient-cpp</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">restclient.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>libcurl wrapper for REST calls  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;curl/curl.h&gt;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &lt;map&gt;</code><br />
<code>#include &lt;cstdlib&gt;</code><br />
<code>#include &quot;restclient-cpp/version.h&quot;</code><br />
</div>
<p><a href="restclient_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_rest_client_1_1_response.html">RestClient::Response</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This structure represents the HTTP response data.  <a href="struct_rest_client_1_1_response.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespace_rest_client"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_rest_client.html">RestClient</a></td></tr>
<tr class="memdesc:namespace_rest_client"><td class="mdescLeft">&#160;</td><td class="mdescRight">namespace for all <a class="el" href="namespace_rest_client.html" title="namespace for all RestClient definitions ">RestClient</a> definitions <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ab2bbc7fd5ec10171e4e1fb2d7fc8e865"><td class="memItemLeft" align="right" valign="top">typedef std::map&lt; std::string, std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_rest_client.html#ab2bbc7fd5ec10171e4e1fb2d7fc8e865">RestClient::HeaderFields</a></td></tr>
<tr class="separator:ab2bbc7fd5ec10171e4e1fb2d7fc8e865"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a38395626a68f2dc66e2acf5b01f5b70b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a38395626a68f2dc66e2acf5b01f5b70b"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_rest_client.html#a38395626a68f2dc66e2acf5b01f5b70b">RestClient::init</a> ()</td></tr>
<tr class="memdesc:a38395626a68f2dc66e2acf5b01f5b70b"><td class="mdescLeft">&#160;</td><td class="mdescRight">global init function. Call this before you start any threads. <br /></td></tr>
<tr class="separator:a38395626a68f2dc66e2acf5b01f5b70b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4dc1337561e6622b013d22639d3d26c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa4dc1337561e6622b013d22639d3d26c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_rest_client.html#aa4dc1337561e6622b013d22639d3d26c">RestClient::disable</a> ()</td></tr>
<tr class="memdesc:aa4dc1337561e6622b013d22639d3d26c"><td class="mdescLeft">&#160;</td><td class="mdescRight">global disable function. Call this before you terminate your program. <br /></td></tr>
<tr class="separator:aa4dc1337561e6622b013d22639d3d26c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b542b597eb854401c02520af258006f"><td class="memItemLeft" align="right" valign="top">Response&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_rest_client.html#a4b542b597eb854401c02520af258006f">RestClient::get</a> (const std::string &amp;url)</td></tr>
<tr class="memdesc:a4b542b597eb854401c02520af258006f"><td class="mdescLeft">&#160;</td><td class="mdescRight">HTTP GET method.  <a href="#a4b542b597eb854401c02520af258006f">More...</a><br /></td></tr>
<tr class="separator:a4b542b597eb854401c02520af258006f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7de7aa2d333b6e7c5f2c2726d4e5485e"><td class="memItemLeft" align="right" valign="top">Response&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_rest_client.html#a7de7aa2d333b6e7c5f2c2726d4e5485e">RestClient::post</a> (const std::string &amp;url, const std::string &amp;content_type, const std::string &amp;data)</td></tr>
<tr class="memdesc:a7de7aa2d333b6e7c5f2c2726d4e5485e"><td class="mdescLeft">&#160;</td><td class="mdescRight">HTTP POST method.  <a href="#a7de7aa2d333b6e7c5f2c2726d4e5485e">More...</a><br /></td></tr>
<tr class="separator:a7de7aa2d333b6e7c5f2c2726d4e5485e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac180f6320d47cad592399378f8c45f7a"><td class="memItemLeft" align="right" valign="top">Response&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_rest_client.html#ac180f6320d47cad592399378f8c45f7a">RestClient::put</a> (const std::string &amp;url, const std::string &amp;content_type, const std::string &amp;data)</td></tr>
<tr class="memdesc:ac180f6320d47cad592399378f8c45f7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">HTTP PUT method.  <a href="#ac180f6320d47cad592399378f8c45f7a">More...</a><br /></td></tr>
<tr class="separator:ac180f6320d47cad592399378f8c45f7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52975c3a96fe5f90b40adc74faae8f94"><td class="memItemLeft" align="right" valign="top">Response&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_rest_client.html#a52975c3a96fe5f90b40adc74faae8f94">RestClient::del</a> (const std::string &amp;url)</td></tr>
<tr class="memdesc:a52975c3a96fe5f90b40adc74faae8f94"><td class="mdescLeft">&#160;</td><td class="mdescRight">HTTP DELETE method.  <a href="#a52975c3a96fe5f90b40adc74faae8f94">More...</a><br /></td></tr>
<tr class="separator:a52975c3a96fe5f90b40adc74faae8f94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99dee400dfdab150b9fdce2ab6a0c2dc"><td class="memItemLeft" align="right" valign="top">Response&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_rest_client.html#a99dee400dfdab150b9fdce2ab6a0c2dc">RestClient::head</a> (const std::string &amp;url)</td></tr>
<tr class="memdesc:a99dee400dfdab150b9fdce2ab6a0c2dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">HTTP HEAD method.  <a href="#a99dee400dfdab150b9fdce2ab6a0c2dc">More...</a><br /></td></tr>
<tr class="separator:a99dee400dfdab150b9fdce2ab6a0c2dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>libcurl wrapper for REST calls </p>
<dl class="section author"><dt>Author</dt><dd>Daniel Schauenberg <a href="#" onclick="location.href='mai'+'lto:'+'d@u'+'nw'+'ire'+'dc'+'ouc'+'h.'+'com'; return false;">d@unw<span style="display: none;">.nosp@m.</span>ired<span style="display: none;">.nosp@m.</span>couch<span style="display: none;">.nosp@m.</span>.com</a> </dd></dl>
<dl class="section version"><dt>Version</dt><dd></dd></dl>
<dl class="section date"><dt>Date</dt><dd>2010-10-11 </dd></dl>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Dec 2 2016 10:53:09 for restclient-cpp by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
